<template>
  <div>
    <a-table
      ref="table"
      size="middle"
      bordered
      rowKey="id"
      class="table_header_blue"
      :columns="columns"
      :dataSource="dataSource"
      :pagination="ipagination"
      :loading="loading"
      @change="handleTableChange"
    >
    </a-table>
  </div>
</template>
<script>
import columns from './indexColumns'
import { JeecgListMixin } from '@/mixins/JeecgListMixin'

export default {
  name: 'shjlModal',
  mixins: [JeecgListMixin],
  components: {},
  props: ['id', 'type'],
  data() {
    return {
      queryParam: {
        proId: this.id,
        type: this.type,
      },
      columns: columns(this),
      visible: false,
      title: '审核记录',
      loading: false,
      dataSource: [],
      url: {
        list: '/sjxmzygl/sjWorkApplyLog/queryApplyLog',
      },
    }
  },
  created() {},
  methods: {
    close() {
      this.visible = false
    },
  },
}
</script>

<style lang="less" scoped>
@import '~@assets/less/tableTheme.less';
@import '../../../css/checkAndEdit.less';

.table-header {
  margin-bottom: 10px;

  .table-title {
    font-weight: bold;
    margin-left: 15px;
  }
}
</style>
